﻿using AntdUI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CKS.MES.Server.UserControls
{
    public partial class CarouselPanel : UserControl
    {
        Color DefaultColor = ColorTranslator.FromHtml("#AEE3FF");
        public CarouselPanel()
        {
            InitializeComponent();

            foreach (var item in pnl.Controls)
            {
                AntdUI.Label label = item as AntdUI.Label;
                if(label!=null && label.Name.StartsWith("lb"))
                {
                    label.ForeColor = Colour.Primary.Get("Tag");
                }
                   
            }
            
        }
       

    }
}
